<?php

function smarttemplate_extension_cutstr($string, $cut_length, $charset = 'GBK')
{
	return cut_zh_str($string, $cut_length, $charset);
}